<?php /* Smarty version 2.6.26, created on 2014-10-24 21:51:34
         compiled from blog.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'blog.html', 20, false),)), $this); ?>
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <link href="<?php echo @__VIEW__; ?>
/Index/css/index.css" rel="stylesheet">
        <link href="<?php echo @__VIEW__; ?>
/Index/css/css.css" rel="stylesheet">
    </head>
    <body>
    	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'head.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

        <div id="crumb">
            <a href="?cid=<?php echo $this->_tpl_vars['filed']['cid']; ?>
"><?php echo $this->_tpl_vars['filed']['catname']; ?>
</a> &nbsp;&nbsp;>&nbsp;&nbsp; <span><?php echo $this->_tpl_vars['filed']['title']; ?>
</span>
        </div>
        <div id="main_box">
            <div id="left_box">
            	<div class="article_box">
            		<div class="article_header">
            			<h1><?php echo $this->_tpl_vars['filed']['title']; ?>
</h1>
            			<div class="article_header_info">
            				发表于：<span><?php echo ((is_array($_tmp=$this->_tpl_vars['filed']['addtime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, '%Y-%m-%d') : smarty_modifier_date_format($_tmp, '%Y-%m-%d')); ?>
</span> 
            				&nbsp;&nbsp;
                                                  <span>
                                                      <script src='?m=Index&c=Index&a=getClick&bid=<?php echo $this->_tpl_vars['filed']['bid']; ?>
' type='text/javascript'></script>
                                                  </span> 浏览
            			</div>
            		</div>
            		<div class="article_body">
            			<?php echo $this->_tpl_vars['filed']['content']; ?>


            		</div>
            	</div>
            </div>
            <div id="right_box">
                <div class="relative_reading_header">
                    <h2>
                        最新博客
                    </h2>  
                </div>
                <ul class="relative_reading_list">
                    <?php unset($this->_sections['n']);
$this->_sections['n']['loop'] = is_array($_loop=$this->_tpl_vars['NewBlogdb']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['n']['name'] = 'n';
$this->_sections['n']['show'] = true;
$this->_sections['n']['max'] = $this->_sections['n']['loop'];
$this->_sections['n']['step'] = 1;
$this->_sections['n']['start'] = $this->_sections['n']['step'] > 0 ? 0 : $this->_sections['n']['loop']-1;
if ($this->_sections['n']['show']) {
    $this->_sections['n']['total'] = $this->_sections['n']['loop'];
    if ($this->_sections['n']['total'] == 0)
        $this->_sections['n']['show'] = false;
} else
    $this->_sections['n']['total'] = 0;
if ($this->_sections['n']['show']):

            for ($this->_sections['n']['index'] = $this->_sections['n']['start'], $this->_sections['n']['iteration'] = 1;
                 $this->_sections['n']['iteration'] <= $this->_sections['n']['total'];
                 $this->_sections['n']['index'] += $this->_sections['n']['step'], $this->_sections['n']['iteration']++):
$this->_sections['n']['rownum'] = $this->_sections['n']['iteration'];
$this->_sections['n']['index_prev'] = $this->_sections['n']['index'] - $this->_sections['n']['step'];
$this->_sections['n']['index_next'] = $this->_sections['n']['index'] + $this->_sections['n']['step'];
$this->_sections['n']['first']      = ($this->_sections['n']['iteration'] == 1);
$this->_sections['n']['last']       = ($this->_sections['n']['iteration'] == $this->_sections['n']['total']);
?>
                    <li>
                        <a href="?m=Index&c=Index&a=blog&cid=<?php echo $this->_tpl_vars['NewBlogdb'][$this->_sections['n']['index']]['cid']; ?>
&bid=<?php echo $this->_tpl_vars['NewBlogdb'][$this->_sections['n']['index']]['bid']; ?>
" class="title"><?php echo $this->_tpl_vars['NewBlogdb'][$this->_sections['n']['index']]['title']; ?>
</a>
                        <div class="reading_info">
                            <i></i> <span><?php echo $this->_tpl_vars['NewBlogdb'][$this->_sections['n']['index']]['click']; ?>
</span> 浏览
                        </div>
                    </li>
                   <?php endfor; endif; ?>
                </ul>
            </div>
           
        </div>
        
        <div id="footer">
            <div id="footer_box">
                Copyright © 2010 - 2014 houdunwang All Rights Reserved.  后盾教育 版权所有
            </div>
        </div>
    </body>
</html>